package com.wang.config;


import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.elasticsearch.core.query.NativeSearchQueryBuilder;

@Configuration
public class ESConfig {

    @Bean
    public NativeSearchQueryBuilder nativeSearchQueryBuilder(){
        return new NativeSearchQueryBuilder() ;
    }
}
